package com.yunyao.dao.service.bamu;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunyao.dao.model.BamuContractMaterial;
import com.yunyao.dao.model.BamuPurchaseContract;

import java.util.List;

/**
 * <p>
 * 采购合同表 服务类
 * </p>
 *
 * @author xingjishuai
 * @since 2024-07-02
 */
public interface IBamuPurchaseContractService extends IService<BamuPurchaseContract> {

    BamuPurchaseContract getByContractNo(String purchaseContractNo);

    BamuPurchaseContract getByContractNonDeleted(String purchaseContractNo);

    BamuPurchaseContract getBySaleContractId(String saleContractId);

    BamuPurchaseContract getByIdNoDelete(String id);

    void updateTotalPriceAndNumByContractId(String contractId);

    void deletedById(String contractId);

    List<BamuPurchaseContract> listById(String Id);
}
